﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Qiang.Topology.Geometries;

namespace Qiang.Data
{
    public interface IShape : ICloneable
    {

        #region 属性


        string ID { get; set; }

        /// <summary>
        /// 范围
        /// </summary>
        IExtent Extent { get; }

        /// <summary>
        /// 图形类型
        /// </summary>
        ShapeType ShapeType { get; }

        /// <summary>
        /// 所属数据集
        /// </summary>
        IDataset ParentDataset { get; set; }


        /// <summary>
        /// 坐标集合
        /// </summary>
        IList<Coordinate> Coordinates { get; }


        #endregion

        #region 方法

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        IGeometry ToGeometry();


        #endregion


        #region 克隆方法


        object Clone();
        


        #endregion

    }
}
